package com.xm.controller;

import com.xm.common.pojo.JsonResult;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/admin")
public class AdminController {
    @RequiresPermissions("2")
    @GetMapping
    public JsonResult Admin(){
        return new JsonResult();
    }

}


